/*
 * Copyright 2019-2025 the original author or authors.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * https://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.iiifi.kite.rocketmq.trace.common;

/**
 * OnsTraceConstants
 *
 * @author kite@iiifi.com 花朝
 */
public class OnsTraceConstants {
    /**
     * 外部直传 nameserver的地址
     */
    public static String NAMESRV_ADDR = "NAMESRV_ADDR";
    /**
     * 外部传入地址服务器的Url，获取NameServer地址
     */
    public static String ADDRSRV_URL = "ADDRSRV_URL";
    /**
     * 实例名称
     */
    public static final String InstanceName = "InstanceName";
    /**
     * 缓冲区队列大小
     */
    public static final String AsyncBufferSize = "AsyncBufferSize";
    /**
     * 最大Batch
     */
    public static final String MaxBatchNum = "MaxBatchNum";
    /**
     * WakeUpNum
     */
    public static final String WakeUpNum = "WakeUpNum";
    /**
     * Batch消息最大大小
     */
    public static final String MaxMsgSize = "MaxMsgSize";
    /**
     * producer名称
     */
    public static final String groupName = "_INNER_TRACE_PRODUCER";
    /**
     * topic
     */
    public static final String traceTopic = "MQ_TRACE_DATA";

    public static char CONTENT_SPLITOR = (char) 1;
    public static char FIELD_SPLITOR = (char) 2;
}
